//
//  TasbihTableViewCell.m
//  Beads
//
//  Created by CPX on 2018/11/1.
//  Copyright © 2018 cpx. All rights reserved.
//

#import "TasbihTableViewCell.h"

@implementation TasbihTableViewCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
    
    self.shadowView.layer.shadowColor = UIColor.lightGrayColor.CGColor;
    self.shadowView.layer.shadowOffset = CGSizeMake(3, 3);
     self.shadowView.layer.shadowOpacity = 0.5;
    self.shadowView.layer.cornerRadius = 3;
    self.shadowView.backgroundColor = UIColor.whiteColor;
    self.contentView.backgroundColor = UIColor.whiteColor;
    self.contentView.layer.cornerRadius = 3;
    self.contentView.layer.masksToBounds = YES;
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}
- (void)setModel:(TasbihModel *)model{
    _model = model;
    self.proverTextLabel.text = model.proverb_text;
    self.athorLabel.text = model.lang_type;
}

@end
